package cn.loioi.web.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import cn.loioi.web.common.BaseController;

@Controller
public class IndexContorller extends BaseController {

	@RequestMapping(value = { "/", "index.jspx" })
	public String index() {
		return redirectUrl("/portal/index.jspx");
	}

	@RequestMapping(value = { "/admin", "admin.jspx" })
	public String admin() {
		return redirectUrl("/admin/index.jspx");
	}
}
